package com.test.mapper;

import com.test.pojo.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysUserMapper {

    SysUser selectByUsername(String username);

    List<String> selectRolesByUserId(String userId);

    List<String> selectPermissionsByUserId(String userId);
}
